package com.tf_cut.backend.agent.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;

@Entity
@Table(name = "agent_account")
@Data
public class AgentAccount {
	@Id
	private String agentAccountId;
	private String agentAccount;
	private BigDecimal agentAccountBalance;
	private BigDecimal agentAccountIncome;
	private BigDecimal agentAccountPay;
	private BigDecimal agentAccountCommission;
	private BigDecimal agentAccountFreeze;
	private BigDecimal baseAmountPoint;	//基础点数（月结）
	private BigDecimal stepAmountPoint;	//阶梯点数（季结）
	private String agentId;
	//代理商分个人或企业【0个人1企业】
	private String bankName;
	private String bankCode;
	private Integer agentType;
	private String personName;
	private String personCode;
	private String corporateName;
	private String corporateCode;
	private String corporateAddress;
	private String corporatePhone;
}
